import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'

import axios from 'axios'

// 配置请求的根路径
Vue.prototype.$axios = axios
axios.defaults.baseURL="http://localhost:9001"
axios.defaults.headers.post["Content-Type"]="application/json;charset=UTF-8"

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
